package com.example.easyscript.enums;

public enum OperationStatusEnum implements EnumUtils.CodeEnum {
    init(0, "未开始进行操作"),
    running(1,"正在运行步骤"),
    terminal(2,"停止"),
    repeat(3,"完成一次循环"),
    ;

    OperationStatusEnum(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    private Integer code;
    private String type;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getType() {
        return type;
    }
}
